package com.example.guethe.fireanalysisapp.data.beans;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * 异常处理基类
 * Created by zhaoshengping on 2017/8/27.
 */

public class BaseModel implements IModel {

    protected boolean error;


    public boolean isError() {
        return error;
    }

    public void setError(boolean error) {
        this.error = error;
    }

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }
}
